package com.glela.serial.service;

import com.glela.serial.model.DiscoveryTypeVo;
import com.glela.serial.model.TitleDiscovery;
import com.glela.serial.model.TitleDiscoveryImage;
import com.glela.serial.model.TitleDiscoveryTag;
import com.glela.serial.model.response.ResponseTitleDiscoveryVo;

import java.util.List;
import java.util.Map;


public interface TitleDiscoveryService {

	List<TitleDiscovery> selectDiscoveryPageByType(TitleDiscovery request);

	int updateDiscovery(Integer id, Integer flag);

    public List<ResponseTitleDiscoveryVo> selectDiscoveryMaterialListPageByType(TitleDiscovery request);

	List<DiscoveryTypeVo> findMaxIdsBytype();

	int updateDiscoveryCountByid(Integer integer, Integer integer2);

	Map<String, List<TitleDiscoveryTag>> queryAllTagsByTitleIdBatch(List<Integer> titleIds);

	Map<String, List<TitleDiscoveryImage>> queryAllImgsByTitleIdBatch(List<Integer> titleIds);
}
